/**
 * 
 */
package com.qihang.core.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.qihang.common.PagerModel;
import com.qihang.core.dao.UserDao;
import com.qihang.core.domain.UserEntity;
import com.qihang.core.service.UserService;


/**
 * @author limn
 *
 */
//@Transactional
@Service("userService")
public class UserServiceImpl implements UserService {
	
	@Resource(name = "userDao")
	private UserDao userDao;

	@Override
	public boolean isExist(UserEntity paramUser) {
		return userDao.isExist(paramUser);
	}

	@Override
	public boolean addUser(UserEntity paramUser) {
		return userDao.addUser(paramUser);
	}

	@Override
	public void delUser(UserEntity paramUser) {
		userDao.delUser(paramUser);
	}

	@Override
	public void updateUser(UserEntity paramUser) {
		userDao.updateUser(paramUser);
	}

	@Override
	public UserEntity getUser(UserEntity paramUser) {
		return userDao.getUser(paramUser);
	}

	@Override
	public PagerModel getUserList(UserEntity paramUser) {
		return userDao.getUserList(paramUser);
	}

}
